package com.renjibo.teawithmilkgoods.activitys;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.EditText;
import android.widget.ImageView;

import com.renjibo.teawithmilkgoods.R;

public class RegisterActivity extends AppCompatActivity  implements View.OnClickListener {

    private EditText register_editText_phone;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_register);
        initView();

    }

    public void initView() {
        ImageView register_imageView_over = (ImageView) findViewById(R.id.register_imageView_over);
        register_editText_phone = (EditText) findViewById(R.id.register_editText_phone);
        register_imageView_over.setOnClickListener(this);

    }

    @Override
    public void onClick(View v) {
        switch (v.getId()) {
            case R.id.register_imageView_over://关闭当前页面
                finish();
                break;

        }
    }
}